// import "./assets/main.css";
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ModelVue from "./components/common/Model.vue";
// import "./scss/theme.scss"
import "./assets/scss/main.scss"
let app = createApp(App);
/* 全局对象 */
app.config.globalProperties.globalX = 999999;
/* 全局组件 */
app.component("Model", ModelVue);
/* 指令 */
app.directive("beauty", (el, { value }) => {
  el.innerText += '指令';
  el.style.background = "#00ffff";
});
/* 卸载 */
// app.unmount();
app.use(store).use(router).mount("#app");
